package com.hhb.pojo;

public class User {
    private int user_id;
    private String user_name;
    private String user_account;
    private String user_password;
    private String user_img;
    private int user_type;
    private int user_gender;
    private int user_age;
    private String user_phone;
    private float user_donate;

    public User() {
    }

    public User(int user_id, String user_name, String user_account, String user_password, String user_img, int user_type, int user_gender, int user_age, String user_phone, float user_donate) {
        this.user_id = user_id;
        this.user_name = user_name;
        this.user_account = user_account;
        this.user_password = user_password;
        this.user_img = user_img;
        this.user_type = user_type;
        this.user_gender = user_gender;
        this.user_age = user_age;
        this.user_phone = user_phone;
        this.user_donate = user_donate;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_account() {
        return user_account;
    }

    public void setUser_account(String user_account) {
        this.user_account = user_account;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public String getUser_img() {
        return user_img;
    }

    public void setUser_img(String user_img) {
        this.user_img = user_img;
    }

    public int getUser_type() {
        return user_type;
    }

    public void setUser_type(int user_type) {
        this.user_type = user_type;
    }

    public int getUser_gender() {
        return user_gender;
    }

    public void setUser_gender(int user_gender) {
        this.user_gender = user_gender;
    }

    public int getUser_age() {
        return user_age;
    }

    public void setUser_age(int user_age) {
        this.user_age = user_age;
    }

    public String getUser_phone() {
        return user_phone;
    }

    public void setUser_phone(String user_phone) {
        this.user_phone = user_phone;
    }

    public float getUser_donate() {
        return user_donate;
    }

    public void setUser_donate(float user_donate) {
        this.user_donate = user_donate;
    }

    @Override
    public String toString() {
        return "user{" +
                "user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", user_account='" + user_account + '\'' +
                ", user_password='" + user_password + '\'' +
                ", user_img='" + user_img + '\'' +
                ", user_type=" + user_type +
                ", user_gender=" + user_gender +
                ", user_age=" + user_age +
                ", user_phone='" + user_phone + '\'' +
                ", user_donate=" + user_donate +
                '}';
    }
}
